package com.guet.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author MicahYin
 * @date 2021/1/28 16:20
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----paymentFallbackService fall back-paymentInfo_ok,哭~~";
    }


    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "----paymentFallbackService fall back-paymentInfo_TimeOut,哭~~";
    }
}
